using System;

namespace BEGDC.CC.ExcelTool
{
	/// <summary>
	/// Summary description for IExcelExport.
	/// </summary>
	public interface IExcelExport
	{

		Excel.Application MyApp
		{
			get;
		}

		Excel.Worksheet MyWorkSheet
		{
			get;
		}

		Excel.Workbook MyWorkBook
		{
			get;
		}

		void Open(string templateName);

		void Close();

		void Save();
		
		void ExportAs(string filename);

		bool WorksheetExist(string worksheetName);

		void Export2Client(System.Web.UI.Page page, string sourcefile, string clientFileName);

	}
}
